package day08;

public class Student {
    String name;
    int age;
    String address;

    public Student(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    void sayHi() {
        System.out.println("amituofo");
    }

    public static void main(String[] args) {
        StringBuilder builder = new StringBuilder("abc");
        StringBuffer buffer = new StringBuffer("abc");
        //builder和buffer其实一样，就是一个安全一个不安全。
        buffer.append(builder);
        System.out.println(buffer);//abcabc
    }







}